<!DOCTYPE HTML>
<html>
    <head>
        <meta charset='utf8'>
        <title>背景-简写</title>
        <style>
        body{
            background: dodgerblue 
                        url("./src/image/bg.jpg") 
                        no-repeat
                        fixed
                        center top;
        }
        h1{
            color: white;
        }
        </style>
        <body>
             <h1>背景-简写</h1>
        </body>
    </head>
</html>